<include file="Public/head" title="待还款金额"/>
<include file="Public/back_head"/>
<div class="main">
    <div class="recharge1">
        <div class="pay_money">
            <span>待还总额</span>
            <span><i class="iconfont icon-jiage-copy"></i>2500.00</span>
        </div>
        <div class="pay_type_day">
            <div class="list eq2">每天还款金额 <span>￥3.00</span></div>
            <div class="list eq3">剩余还款天数 <span>730天</span></div>
        </div>
        <div class="pay_money">
            <span>今日待还金额</span>
            <span><i class="iconfont icon-jiage-copy"></i> 3.00</span>
        </div>
        <div class="pay_btn">一键全还</div>
    </div>
</div>
<script type="text/javascript">
    (function () {
        $(function () {
            var type=1;
            $(".pay_btn").click(function () {
                if(type==1){
                    Establish_nobalance("余额不足","还需要","￥600","是否立即充值","手头紧","立即充值","javascript:;")
                    type=2;
                }else if(type==2){
                    layer.msg("还款成功");
                    type=1;
                }
            });
            $("body").on("click",".Position_close",function () {
                $(".certification").hide();
            });
            $("body").on("click",".b1",function () {
                $(".certification").hide();
            });
            $("body").on("click",".b2",function () {
                $(".certification").hide();
                layer.msg("充值成功");
            });
        })
    })(jQuery)
</script>
<include file="Public/foot"/>